]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ui: fix a translator comment in InhibitShortcutsDialog
authorPiotr Drąg <piotrdrag@gmail.com>
Fri, 11 Aug 2017 17:45:02 +0000 (19:45 +0200)
committerPiotr Drąg <piotrdrag@gmail.com>
Fri, 11 Aug 2017 17:45:02 +0000 (19:45 +0200)
It needs to be exactly one line above the string to be picked up by gettext.

js/ui/inhibitShortcutsDialog.js

index db0411df9acd7040e8269a6c10e0521c302e189b..3bf9bc22088b81fea6eaa2d2943b33e501940e08 100644 (file)
@@ -57,10 +57,10 @@ var InhibitShortcutsDialog = new Lang.Class({
 
         let contentParams = { icon, title };
 
-        /* Translators: %s is a keyboard shortcut like "Super+x" */
         let restoreAccel = this._getRestoreAccel();
         if (restoreAccel)
             contentParams.subtitle =
+                /* Translators: %s is a keyboard shortcut like "Super+x" */
                 _("You can restore shortcuts by pressing %s.").format(restoreAccel);
 
         let content = new Dialog.MessageDialogContent(contentParams);